package com.edmendst.xmall.pojo;

import com.edmendst.xmall.dto.Region;
import com.edmendst.xmall.handler.RegionTypeHandler;
import lombok.Data;

@Data
public class UserAddress {
    private Long addressId;
    private Integer userId;
    private String receiverName;
    private String mobile;
    private Region region;
    private String detailAddress;
    private Boolean isDefault;

    @Override
    public String toString() {
        return "UserAddress{" +
                "addressId=" + addressId +
                ", userId=" + userId +
                ", receiverName='" + receiverName + '\'' +
                ", mobile='" + mobile + '\'' +
                ", region=" + region +                ", detailAddress='" + detailAddress + '\'' +
                ", isDefault=" + isDefault +
                '}';
    }
}
